from typing import Annotated

import msgspec


class CreateUserForm(msgspec.Struct):
    user_name: Annotated[str, msgspec.Meta(max_length=50)]
    is_admin: bool = False
